'Declaration Public Sub Add( _ ByVal sortableItem As T, _ ByVal sortCondition As SortCondition _ )
public void Add( T sortableItem, SortCondition sortCondition )
Exception | Description |
---|---|
System.ArgumentNullException | sortableItem is null. |
System.ArgumentNullException | sortCondition is null. |
System.ArgumentException | sortableItem is already has a sort condition applied to it in the collection. |
System.InvalidOperationException | There are already 64 sort conditions in the collection. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2